﻿@model MVC_Person.Models.Person

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Person</legend>

    <div class="display-label">Contact role</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Contact_role)
    </div>

    <div class="display-label">Company ID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CompanyID)
    </div>

    <div class="display-label">Job Title</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Job_title)
    </div>

    <div class="display-label">Job Start Date</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Job_start)
    </div>

    <div class="display-label">Job End Date</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Job_end)
    </div>

    <div class="display-label">Comments</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Comments)
    </div>

    <div class="display-label">Email</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

    <div class="display-label">Cell phone #</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Cell_phone)
    </div>

    <div class="display-label">Office fax #</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Office_fax)
    </div>

    <div class="display-label">Office phone #</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Office_phone)
    </div>

    <div class="display-label">Prefix</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Prefix)
    </div>

    <div class="display-label">First Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.First_name)
    </div>

    <div class="display-label">Last_name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Last_name)
    </div>

    <div class="display-label">Suffix</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Suffix)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.PersonID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
